﻿$def with (user, form)
$var title: login

<div id="content" class="narrowcolumn">
$if session.login == False:
    <p>您尚未登陆。请填好下面的登陆信息，然后猛击<strong>登陆</strong>按钮</p>
    <p>
    <form action="/login" method="post">
    $:form.render()
    <input type="submit" name="login" value="登陆" />
    </form>
    </p>
$else:
    <p>恭迎教主 $user！</p>
  </div>
